﻿// JavaScript Document
$(document).ready(function(){
	TouchSlide({ slideCell:"#docBox",titCell:".hd ul",mainCell:".bd ul", effect:"leftLoop",autoPlay:true,autoPage:true });
	$(".anli").slide({titCell:".anli_hd li",mainCell:".anli_bd"});
	TouchSlide({ slideCell:"#banner",titCell:".hd",mainCell:".bd", effect:"leftLoop",autoPlay:true,autoPage:true });

	//$(".docBox").slide({titCell:".hd ul",mainCell:".bd ul", effect:"leftLoop",autoPlay:true,autoPage:true });
	//$(".banner").slide({titCell:".hd",mainCell:".bd", effect:"leftLoop",autoPlay:true,autoPage:true });
	FuckInternetExplorer()
    function FuckInternetExplorer() {
        var browser = navigator.appName;
        var b_version = navigator.appVersion;
        var version = b_version.split(";");
  if (version.length > 1) {
            var trim_Version = parseInt(version[1].replace(/[ ]/g, "").replace(/MSIE/g, ""));
            if (trim_Version < 9) {
                $(".docBox").slide({titCell:".hd ul",mainCell:".bd ul", effect:"leftLoop",autoPlay:true,autoPage:true });
				$(".banner").slide({titCell:".hd",mainCell:".bd", effect:"leftLoop",autoPlay:true,autoPage:true });
                //return false;
            }
        }
        return true;
    }
});

/**d_list下拉菜单***/
function show(){
	var d_list = document.getElementById("d_list");
	if(d_list.style.display=='none'){
		d_list.style.display = 'block';
	}else{
		d_list.style.display = 'none';
	}
}
/**d_list下拉菜单***/
